Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NWidgetFactory<TItem> Class / CreateWidget Method


In This Topic
    CreateWidget Method (NWidgetFactory<TItem>)
    In This Topic
    Creates a widget for the given item. The default implementation creates a label and sets its text to the result of the GetString method for the given item.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateWidget( _
       ByVal item As TItem _
    ) As NWidget
    'Usage
     
    
    Dim instance As NWidgetFactory(Of TItem)
    Dim item As TItem
    Dim value As NWidget
     
    value = instance.CreateWidget(item)
    public virtual NWidget CreateWidget( 
       TItem item
    )

    Parameters

    item
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also